package com.ticket.entity;

import java.time.LocalDate;

/**
 * @author 全谢民
 * @version 8.0
 * @description: TODO 首页返回结果（包含电影，赛事，舞台）
 * @date 2023/10/12 19:01
 */
public class HomePage {
    private int activityId;         //id
    private String activityType;         //类型
    private String activityPicture; //图片路径
    private String activityName;    //名称
    private String activityAddress; //地址
    private LocalDate activityStartDate;  //开始时间
    private Float activityStartRange;   //最低价格

    public HomePage() {

    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    @Override
    public String toString() {
        return "HomePage{" +
                "activityId=" + activityId +
                ", activityType='" + activityType + '\'' +
                ", activityPicture='" + activityPicture + '\'' +
                ", activityName='" + activityName + '\'' +
                ", activityAddress='" + activityAddress + '\'' +
                ", activityStartDate=" + activityStartDate +
                ", activityStartRange=" + activityStartRange +
                '}';
    }

    public HomePage(int activityId, String activityPicture,
                    String activityName, String activityAddress,
                    LocalDate activityStartDate, Float activityStartRange) {
        this.activityId = activityId;
        this.activityPicture = activityPicture;
        this.activityName = activityName;
        this.activityAddress = activityAddress;
        this.activityStartDate = activityStartDate;
        this.activityStartRange = activityStartRange;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getActivityPicture() {
        return activityPicture;
    }

    public void setActivityPicture(String activityPicture) {
        this.activityPicture = activityPicture;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getActivityAddress() {
        return activityAddress;
    }

    public void setActivityAddress(String activityAddress) {
        this.activityAddress = activityAddress;
    }

    public LocalDate getActivityStartDate() {
        return activityStartDate;
    }

    public void setActivityStartDate(LocalDate activityStartDate) {
        this.activityStartDate = activityStartDate;
    }

    public Float getActivityStartRange() {
        return activityStartRange;
    }

    public void setActivityStartRange(Float activityStartRange) {
        this.activityStartRange = activityStartRange;
    }
}
